import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

const app = createApp(App)

app.use(ElementPlus)
app.use(router)
app.config.errorHandler = (err) => {
    if (err.message.includes('ResizeObserver')) return;
    console.error(err);
};
app.mount('#app')